package com.sinog.front.feign.biz.api;

import com.sinog.core.domain.InterfaceLog;
import com.sinog.core.domain.JieKouLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @desc 接口对接 - 日志表插入数据
 * @author -ypc
 * @date - 2022/7/25
 */
@FeignClient("sinog2c-biz")
public interface LogInsertService {

    /**
     * 省级日志表插入数据
     * @param interfaceLog 省级日志表对应的实体类
     */
    @RequestMapping("/transmission/api/azbj/rjcr")
    void insertLog(@RequestBody InterfaceLog interfaceLog);

    /**
     * 部级日志表插入数据
     * @param jieKouLog 部级日志表对应的实体类
     */
    @RequestMapping("/transmission/api/azbj/rjcrbuji")
    void insertbuLog(@RequestBody JieKouLog jieKouLog);
}